package com.ruoyi.center.service;

import java.util.List;

import com.basic.service.IBaseService;
import com.param.IAlreadyRead;
import com.ruoyi.center.domain.NoticeCenter;
import com.ruoyi.center.domain.Staticis;
/**
 * 通知中心Service接口
 * 
 * @author 王强
 * @date 2024-01-23
 */
public interface INoticeCenterService extends IBaseService<NoticeCenter>
{
   /**
    * 获取各类型数量
    * @return
    */
	List<Staticis> getStaticisList(NoticeCenter noticeCenter);
	
	/**
	 * 全部已读
	 * @return
	 */
	int allAlreadRead(NoticeCenter alreadyRead);
	
	/**
	 * 团队通知
	 * @param type
	 * @return
	 */
	public int teamNoticed(int type, int assocId, int userId, String verfiy);
	
	/**
	 * 奖励通知
	 * @param type
	 * @return
	 */
	public int rewardNotification(int assocId, int userId, String content);
	
}
